package main

import "fmt"

func main()  {
	s := "sswesa"
	ss := "sd"
	Result := false

	for i:=0;i<len(s)-len(ss)+1;i++{
		end := i+len(ss)
		Result = Boolean(s[i:end],ss)
		if Result{
			break
		}
	}
	fmt.Println(Result)
}

func Boolean(str0 string,str1 string)bool  {
	fmt.Println(str0,str1)
	if str0==str1{
		return true
	}
	return false
}